package com.vhall.component.service.goods.event;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.context.ApplicationEvent;

import java.util.List;

/**
 * 直播间商品列表刷新事件
 *
 * @author yuanzh
 * @date 2021/10/29
 */
@Getter
@Setter
@ToString
public class LiveGoodsListRefreshEvent extends ApplicationEvent {

    private static final long serialVersionUID = -4067670113673748878L;

    private List<Integer> ilIds;

    private String eventMessage;

    public LiveGoodsListRefreshEvent(Object source) {
        super(source);
    }

    public LiveGoodsListRefreshEvent(Object source, List<Integer> ilIds, String eventMessage) {
        super(source);
        this.ilIds = ilIds;
        this.eventMessage = eventMessage;
    }

}
